/*
 *接口编写处...
*如果接口需要做Action的权限验证，请在Action上使用属性
*如: [ApiActionPermission("Fk_reimfloat",Enums.ActionPermissionOptions.Search)]
 */
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Http;
using VOL.Entity.DomainModels;
using VOL.MyTable.IServices;
using VOL.Core.Filters;
using VOL.Core.Enums;

namespace VOL.MyTable.Controllers
{
    public partial class Fk_reimfloatController
    {
        private readonly IFk_reimfloatService _service;//访问业务代码
        private readonly IHttpContextAccessor _httpContextAccessor;

        [ActivatorUtilitiesConstructor]
        public Fk_reimfloatController(
            IFk_reimfloatService service,
            IHttpContextAccessor httpContextAccessor
        )
        : base(service)
        {
            _service = service;
            _httpContextAccessor = httpContextAccessor;
        }

        [ApiActionPermission("Fk_reim", ActionPermissionOptions.Search)]//使用viewgrid控件，绕开控件权限，需要重载查询函数,这行必须要添加huangxs2021年12月5日 13:29:46
        [HttpPost, Route("GetPageData")]
        public override ActionResult GetPageData([FromBody] PageDataOptions loadData)
        {
           
            return base.GetPageData(loadData);
        }

    }
}
